package com.ruoyi.am.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 加班信息对象 am_over
 * 
 * @author hkkk
 * @date 2020-12-18
 */
public class AmOver extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long overId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String userName;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 加班日期 */
    @Excel(name = "加班日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date overTime;

    /** 加班时长 */
    @Excel(name = "加班时长")
    private Double overLong;

    /** 加班描述 */
    @Excel(name = "加班描述")
    private String description;

    public void setOverId(Long overId) 
    {
        this.overId = overId;
    }

    public Long getOverId() 
    {
        return overId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setOverTime(Date overTime) 
    {
        this.overTime = overTime;
    }

    public Date getOverTime() 
    {
        return overTime;
    }
    public void setOverLong(Double overLong) 
    {
        this.overLong = overLong;
    }

    public Double getOverLong() 
    {
        return overLong;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("overId", getOverId())
            .append("userName", getUserName())
            .append("userId", getUserId())
            .append("overTime", getOverTime())
            .append("overLong", getOverLong())
            .append("description", getDescription())
            .append("createTime", getCreateTime())
            .toString();
    }
}
